package com.briup.estore.common.util;

import java.util.Calendar;

/**
 * @author adam
 * @date 2023/5/15
 */
public class DateUtil {
    public static  String getNowDate(){
        Calendar calendar = Calendar.getInstance();
        int year = calendar.get(Calendar.YEAR);
        int month = calendar.get(Calendar.MONTH);
        int date = calendar.get(Calendar.DATE);
        return year+"-"+month+"-"+date;
    }
}
